Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-916 | GEN002120 | SV-40806r1_rule | ECSC-1 | Medium |
Description |
---|
The shells file (or equivalent) lists approved default shells. It helps provide layered defense to the security approach by ensuring users cannot change their default shell to an unauthorized shell that may not be secure. |
STIG | Date |
---|---|
Solaris 9 SPARC Security Technical Implementation Guide | 2013-07-02 |
Check Text ( C-432r2_chk ) |
---|
Verify /etc/shells exists. # ls -l /etc/shells If the file does not exist, this is a finding. |
Fix Text (F-34658r1_fix) |
---|
Create a /etc/shells file containing a list of valid system shells. The list below contains the default shells from the shells(4) man page. Procedure (the command is 24 lines long): cat >/etc/shells < /bin/csh /bin/jsh /bin/ksh /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh EOF |